
package hk.ces.oxfam.patch.db.result;

import java.util.List;

/**
 *
 * @author ReutyCheng
 */
public class BaseDataResult implements DataResult
{
  private List<Object[]> dataResult;

  public BaseDataResult(List<Object[]> dataResult)
  {
    this.dataResult = dataResult;
  }

  public List<Object[]> getDatas()
  {
    return dataResult;
  }

  public int getDataCount()
  {
    return dataResult.size();
  }

  public boolean isDataEmpty()
  {
    return dataResult.isEmpty();
  }
}
